package org.cying.main.feign;

import org.cying.main.domain.SampleResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "Student-Server")
public interface DeptFeignStudent {

    @DeleteMapping(value = "/stu/delete/record")
    SampleResult<Boolean> deleteRecord(
            @RequestParam(value = "sid",        required = false) String sid,
            @RequestParam(value = "department", required = false) String department,
            @RequestParam(value = "group",      required = false) String group
    );

}
